# coding: utf-8
from flask_sqlalchemy import SQLAlchemy


db = SQLAlchemy()



class Todolist(db.Model):
    __tablename__ = 'todolist'

    AutoID = db.Column(db.BigInteger, primary_key=True)
    Title = db.Column(db.String(50), server_default=db.FetchedValue(), info='事项名称')
    Status = db.Column(db.Integer, server_default=db.FetchedValue())
    IsDelete = db.Column(db.Integer, server_default=db.FetchedValue())
    CreateTime = db.Column(db.DateTime,server_default=db.FetchedValue())
    UserID = db.Column(db.BigInteger)
